package pub.xspace.nova.system.service.impl;

import java.util.List;

import org.springframework.stereotype.Service;

import jakarta.annotation.Resource;
import pub.xspace.nova.system.domain.SysRole;
import pub.xspace.nova.system.mapper.SysRoleMapper;
import pub.xspace.nova.system.service.SysRoleService;

/**
 * 系统角色管理Service实现类
 * 
 * @author HeJianrong
 */
@Service
public class SysRoleServiceImpl implements SysRoleService {

	@Resource
	private SysRoleMapper sysRoleMapper;

	@Override
	public List<SysRole> getByUserId(String userId) {
		return sysRoleMapper.selectByUserId(userId);
	}

}
